﻿/******************************************************************************
 *  作者：       Maxzhang1985
 *  创建时间：   2012/5/2 15:19:44
 *
 *
 ******************************************************************************/
/******************************************************************************
 *  作者：       Maxzhang1985
 *  创建时间：   2012/4/27 10:54:49
 *
 *
 ******************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExtendPropertyLib.WPF;
using ExtendPropertyLib;
namespace ExORMDesginer.Plugin.Template
{
    /// <summary>
    /// 模板信息类
    /// </summary>
    public class TemplateInfo : BusinessInfoBase<TemplateInfo>
    {
        
        public static ExtendProperty NameProperty = RegisterProperty(v => v.Name);
        /// <summary>
        /// 模板名称
        /// </summary>
        public string Name { set { SetValue(NameProperty, value); } get { return (string)GetValue(NameProperty); } }

        
        public static ExtendProperty WizardNameProperty = RegisterProperty(v => v.WizardName);
        /// <summary>
        /// 向导类名
        /// </summary>
        public string WizardName { set { SetValue(WizardNameProperty, value); } get { return (string)GetValue(WizardNameProperty); } }

        
        public static ExtendProperty FileNameProperty = RegisterProperty(v => v.FileName);
        /// <summary>
        /// 模板文件路径
        /// </summary>
        public string FileName { set { SetValue(FileNameProperty, value); } get { return (string)GetValue(FileNameProperty); } }

        /// <summary>
        /// 模板支持的输出类型
        /// </summary>
        public EntityType TemplateType { set; get; }
    }
}
